//
//  ConsulationAnswerCellModel.h
//  EnvironmentalProtection
//
//  Created by HCreater on 2018/11/2.
//  Copyright © 2018年 HCreater. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ConsulationAnswerCellModel : NSObject

/// UI 信息
/** cellHeight */
@property (nonatomic, readonly, assign) CGFloat cellHeight;
@property (nonatomic, readonly, copy) NSString* name;
@property (nonatomic, readonly, copy) NSString* content;
@property (nonatomic, readonly, copy) NSString* time;
@property (nonatomic, readonly, copy) NSString* imgurl;
@property (nonatomic, readonly, assign) BOOL isAdopt;
@property (nonatomic, readonly, assign) BOOL isAnswered;
@property (nonatomic, readonly, assign) BOOL isAskUser;

/// 地址信息模型
//@property (nonatomic, readonly, strong) EnterpriseInfoData* epInfoData;
@property (nonatomic, readonly, strong) id data;

/// 选中cmd
@property (nonatomic, readwrite, strong) RACCommand* selectCommand;
@property (nonatomic, readwrite, strong) RACCommand* focusCommand;
@property (nonatomic, readwrite, strong) RACCommand* adoptCommand;

/// 初始化
- (instancetype)initWithData:(id)data cellHeight:(CGFloat)cellHeight;
- (void)rebind:(id)data;

@end
